package cn.com.wind.bdg.inmysql.inmysql.service;


import cn.com.wind.bdg.inmysql.inmysql.entity.Info;

import java.util.List;

public interface ESService {
    public void createIndex(String index);
    public void addMapping(String index,String type) throws Exception;
    public void add(String index, String type, Info info)  throws Exception;
//    public void update(String index, String type, PersonData personData) throws Exception;
    public void delete(String index, String type, String id) throws Exception;
    public void query(String index, String type,String id);
}
